package com.canal.collection.repository;

import com.canal.collection.entity.ChannelItem;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author yangbo
 * @date 2020-07-02 14:23
 */
public interface ChannelItemRepository extends JpaRepository<ChannelItem,Integer> {

    /**
     * 通过code获取item
     * @param code
     * @return
     */
    ChannelItem findByCode(String code);
}
